package my.mall.service.impl;

import my.mall.entity.GoodsCats;
import my.mall.common.pojo.bo.PageBo;
import my.mall.common.pojo.vo.GoodsCatsVo;
import my.mall.service.GoodsCatsService;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author fengbo
 * @since 2021-01-22
 */
@Service
public class GoodsCatsServiceImpl implements GoodsCatsService {


    @Override
    public List<GoodsCatsVo> getGoodsCats(int type, PageBo pageBo) {

        return null;
    }

    private void catsToVo(Map<Integer, List<GoodsCats>> goodsCatMap,
                          List<GoodsCats> childrenCats, List<GoodsCatsVo> res) {

    }
}
